package dragon.modules.system.menu.vo;

import java.util.Comparator;

/**
 * 用于给菜单排序
 */
@SuppressWarnings("rawtypes")
public class SysMenu2Sort implements Comparator {

	@Override
	public int compare(Object o1, Object o2) {
		SysMenu2 m1 = (SysMenu2) o1;
		SysMenu2 m2 = (SysMenu2) o2;
		return m1.getOrdernum() - m2.getOrdernum();
	}

}
